Fixing build break. Look for missing remote branch message at the start of exception message instead of performing exact match