added code to clean up https and http publishing paths that are empty after a repo is deleted