Fixs empty tenant exception

Just catch the IndexError to avoid process abort
Fixs unavailable container exception

To avoid program abort, we consider unavailable container as empty