[AS7-6820] Wrong exception thrown by container for non-existent entity