Undo namespace fix for mongo_hosts

This is not a global variable, it's passed into the class. I have no
idea why the linter is complaining.
Merge pull request #588 from alphagov/undo-namespace

Undo namespace fix for mongo_hosts