Fix loading of custom dependencies in dev mode