Fixed parenthesis and repository update behavior.

Don’t update repository if we’re not about to commit. This allow to use
the script only to fetch translations.