The scenario that remaining guard was trying to protect against is obviated by and no longer possible after 776fabd77c.
776fabd77c
After dd06dd0e699311494412e36bc3f37bb055a01477 the behaviour set up on the mock in the test in question is no longer realistic. Online metadata lookups will no longer fall back to online ID or filename.