Prevent type_files from trying to get the fragment if there's going to be none