fix guard condition to install redmine