Puppet: Fixing a bug and writing a test for it

Fixing a bug where the repo_type entry in the _notes field was not getting set.