fix #39: create repository xml when repo is created or anything is changed