little patch to be more compatible with shields specification

This is not elegant, but seems to fix the Shields.io specs...

@claudio-dalicandro what do you think about it?