CLI: Use the right base
when loading files from stdin
#14522
Merged
base
when loading files from stdin
#14522