check the state of the repository and create one if wanted

closes rmblair/epoxy-ips-build#1