bug 364 NBI backward compatiblity get tenant with name instead of uuid