fixed comment
moved the alias handling code to AddOnProduct::SetRepoUrlAlias()
added nil checks
added testsuite
added .gitignore