Correct prepare-commit-msg for Git Amends

Corrected the grep to properly identify the 'tested on' string, and
prevent it's inclusion if present.

The 'tested on' string should still be included if the amendment is made
on a later date.

Tested-on: arcturus <09 Jan 2014>