compare-puppet-catalogs: minor tweaks

I did my best to make the software NOT depend on being run as root out
of vagrant, and in general to play nicer for a "production" installation.

Change-Id: I72c5b17b58c327b973279bc89966bc6c44a56259
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>