(main) refactor of Puppet::Configurer.retrieve_catalog

No functional change, but reorganize for readability,
and beef up the explanatory comment. Style side benefits:
* Write negative conditionals consistently
  (as  "if !" -- was a mix of "if !" and "unless").
* Just one explicit return site.
* Keep line lengths < 80.