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.