Fixing a bug in pxegen where distro was not checked to exist before accesing it
Merge pull request #847 from jmaas/master

PEP8 - cobbler/utils.py