git-remote-mediawiki: properly deal with invalid remote revisions