Fixed module stage loading

Fixed modules not loading in stages other than :FIRST. Loading was
failing in other stages due to case sensitivity in string comparison.