Merge pull request #1050 from jmaas/master

Fix broken Ubuntu import when adding apt repo.
Fix for #790. cobbler-ext-nodes was broken with mgmt_classes defined at the profile level.