move pull --rebase out of conditional

if pull --rebase fails it should cause the script to fail

[finishes #82850654]