Fix images in root namespace

Image can also be uploaded to the root namespace of dokuwiki, but are not handled correctly. Fix this issue by checking for a colon in the path first, before exploding it.