autowire/metrics does not fail even if not initialized

[#77046142]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>