BISERVER-10341 Fix the catalog comparison (return code 7) if name is same and add overwrite flag