FIxes typo
add addHook support single branch name as string