Fix transextion_exists? for creditcard and giro

Before the grep command was quite silly, just looking four lines ahead.
Now the command uses `sed` to correctly find existing transactions.