Fix hostgroup uri in eltdetail

* Remove some usless stuff
* I must sleep... it's working...