Fix behaviour of OntoWiki_URL on sites

Checks if controller and action are empty before overwriting them