Fix broken Ubuntu import when adding apt repo.
Merge pull request #1050 from jmaas/master

Fix broken Ubuntu import when adding apt repo.