Fix a regression bug when checking for redmine connection with global configuration