Protect against an empty colon_split variable

In case the explode function does not return an array, because there
are no colons, we’ve included a safe-guard.
Merge pull request #13 from karlding/empty-colon-split

Protect against an empty colon_split variable