Never inc modules that need connection in dev mode

Fixes #905