Fixing bug where repo directory was not created by pull