Change 'port' in mongodb store to local variable.

Using a global-level variable causes the 'port' entry to be empty if you use facter.