Silencing 'rpm not found' on non-rpm systems

This is the same as #1741 but I also fixed Gemfile32