(hotfix) fix calls to getEntityNamespaces

- getEntityNamespaces was moved from lib to repo in I4acc406d
but some maintenance scripts were still calling the method in lib

Change-Id: I2859c335a125144b39b4957d2250209681633a8b