[#6388] fix capitalization in module lookup