Tweak conditional

* Set registered = true, if already registered
Merge branch 'master' of gitlab.marshall.edu:systems/zenoss_register
fixed rubocop errors
Merge branch 'themoore-master'
Merge branch 'master' of gitlab.marshall.edu:systems/zenoss_register
Dont put metadata.json in git index
Rubocop

providers/default.rb:27:5: C: Use self-assignment shorthand +=.
    base_uri = base_uri + '/zport/dmd/DeviceLoader?'
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^