Prevent config.uri overwrite when not intended