Add fallback to wget/curl if git fails

Also remove unused variable CONFURL