Avoid a nil access on metadata when the collector doesn't exist