If the git.branch option is empty, use the current Git branch
Cancel deploy if git clone fails, and explain why
Check for errors during composer install
Remove remote dependency as it makes 4.1 crash