Allow older recoveries that don't support set_metadata

Change-Id: I646dc436871f99a56649fd76d61a8524614c80b7