Dont pull more times than necessary - also adds a flag (dontPullOrClone) which can be used during development to work offline (i.e. on planes)