IsPathPrefix() better handles plain file names and incomplete folder names that are on Matlab path.