Fix bug while detecting dependencies on Debian/Ubuntu systems, iff rpm is installed
Reorganize code
Merge pull request #732 from besserox/bugfix_osdependencies_detection

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