Simplifying checks for the existence of rvm and homebrew