fixes an issue with order-dependent container model initialization

Currently container model image and tag attributes must be initialized in a specific order. This removes this order dependency.
It might, but it should be easy to fix.