Simplyfing code by using Only one exit point of the function
    * TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp: