check the state of the repository and create one if wanted

closes rmblair/epoxy-ips-bootstrap#1