Fixing bug where exception thrown in getRequirements