Fix use of params::homedir instead of homedir

There are two places where $::reprepro::params::homedir are being used
instead of the $homedir variable that the user may have overridden.