Prevents race conditions between dependencies (Fixes #35)

* Refactors the scm lock
* Restries `go get` until it's not locked anymore