Fix bug while detecting dependencies on Debian/Ubuntu systems, iff rpm is installed