Always prepend a colon to the last parameter if there is none yet

Previously the code always prepended one if there was one, which would
lead to a double colon, which looks like accidentially inverted logic.