Is versions_map used anywhere?  This is not your fault (the existing code did it) so no need to fix; but if you're in here and want to fix, I bet this would read better if it was called @exists or something.