[ticket/11509] Further improvements/fixes for the Travis CI commit message checker

http://tracker.phpbb.com/browse/PHPBB3-11509