Patch Set 1:

I've implemented Matthias suggestions: http://egit.eclipse.or/r/#change,366

By the way, I don't know why this patch doesn't goes to this patch set, maybe there is something wrong in my local repository or I'm doing something wrong.