Add safeguards where the project file might have a null FS entry.