1021612: Check for duplicate puppet names before publish

There's also a separate [issue](https://github.com/Katello/katello/issues/3307) for handling publish errors from Pulp in general.

- [x] Handle refresh
- [x] Write tests
- [x] Address PR feedback