Fixed issue where jenkins plugin wouldn't work outside dev environment.