The 'Creating directory structure' step runs mkdir -p on INSTALL_DIR before the clone step, so git clone fails if the directory is non-empty. Clone to a temp directory and copy contents into place to preserve any existing data/ and logs/ subdirectories.