syntax error which was preventing params to be stored is fixed.

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@17067 a933e228-e664-4d3f-8241-49479697c698
if a repository name is missing it can be guessed from the package name

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@17068 a933e228-e664-4d3f-8241-49479697c698