src.origin on virtual file missing url if content source is local and has no remote
If a content source is local and the repository does not have a remote (and thus no remote url), the src.origin property on the virtual file is missing the url property. This is problematic for log messages since it means there's no identifying information for the content source.
If the url for a local content source cannot be determined, fall back to using a file URL based on the directory of the content source. For example, if the content source is /path/to/repo, the URL should be file:///path/to/repo. This value will then be used in log messages to identify the source of a file.
Edited by Dan Allen