Prevent locked error when dev mode is enabled

This prevents the installer locked error message being displayed while
dev mode is enabled.