[container] fix discovering iOS container root when .../Bundle, .../Data, or .../Application is the input