unify all of the logic, where git am and submodule is handled Signed-off-by: Leah Rowe <leah@libreboot.org>