cli: get rid of ridiculous slashes and the file:// scheme on config read fails.

Related: RhBug:1071212