Fix forced update of tracked branch (some more)

Fix regression introduced by d0fb579 "Suppress "user-friendly" hook output
for pushes by the system" which changed a return statement into a print
statement when it should have changed it to a print statement followed by
a return statement (returning nothing.)