Remote property accessor on branch branch should not throw an exception

When a branch is under the refs/remotes/ namespace, but a specific remote cannot be resolved,
then the Remote property accessor should return null instead of throwing an exception.
Could you think of a test that could leverage this code path?