Claer base path if all upstreams are removed, improve vagrant templates
and config