build/common: run check-ug when using RPM
build/common: run check-ug when using RPM

In a previous commit, $dist was tested while it does not exist.
Since the script currently works with RPM, let's test $package_type
variable for now.

lebauce/edeploy,enovance/edeploy,redhat-cip/edeploy,redhat-cip/edeploy,enovance/edeploy,lebauce/edeploy,lebauce/edeploy,enovance/edeploy,redhat-cip/edeploy,redhat-cip/edeploy,enovance/edeploy,lebauce/edeploy