Stop function if nothing to do

Do not attempt to merge the project if there is nothing to merge.
Cleans up the log, and speeds up the process.