Assign refname to src.origin.refname property on virtual file
For a file taken from a git repository, set the src.origin.refname
to the name of the branch or tag. Currently, this information is available via the src.origin.branch
or src.origin.tag
properties. But in some cases, the reference type doesn't matter and this just makes accessing the information harder. Instead, the information should be available from a single property.