Ignore prefix_files when detecting if work/ is the src_dir