ContainerBuilder: removed needless checking for created service type