minor code factorisation
fixed --download binary package info regression