Fixes module loading

Turns out that this if really needs to mean "client-app-level packages".