Revert "Add proper support of rpm based distros"

This reverts commit 58616a7656baf6478f054995625b20c717b14006.