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 to protect against unforseen errors. The ``explode()`` function returns an empty array, should the colon not exist.