Fix repository_config() to avoid overriding already defined repository parameters