Fixed typo in functions.sh.

This typo was causing the hook to error out and push to fail.