compare-puppet-catalogs: Fix pyflakes warnings

Change-Id: I4a678ebeb25f985293f6c48bb54fe777904d1ff6