Script failed if the depo is already cloned

The script failed because we are trying to cd into the folder were are already.
So we need to set the current folder as if it first time we clone the repo.