[VersionControl] Prevent some easily preventable exceptions

It's possible that a folder will exist in the csproj but the
corresponding directory does not exist on the filesystem. In this
scenario, let's avoid throwing an exception to keep the logs clean.