Fix NPE bug when using deprecated modules= query arg
Merge pull request #163 from chuckdumont/nio

Fix NPE bug when using deprecated modules= query arg