Do not use installed packages in the self test program
Remove deprecated methods
Set the releasever when downloading packages