The commit detail template adjusted so the link creation detects an empt...

This is fix of the template for #144. The root cause was actually an empty message. When such commit is rendered the link title renders as '(null)'.