CORE-5740: modified the file path translation code so that it doesn't attempt to translate empty paths