fixing apt.mod_repo to work on ubuntu < 12.04
Merge pull request #5812 from nevins-b/develop

fixing apt.mod_repo to work on ubuntu < 12.04