Remove debug statement
Check if branch exists before trying to create it (APPENG-2790)