minor style fixes

@cclerget: a couple more minor style fixes I came up with after a last review of your PR, to be included in https://github.com/hpcugent/easybuild-framework/pull/913

I feel your PR is ready to be merged in once this is included.