This commits change metadata.py to correctly
read the values set on recipe's fields "reboot_required"
and "unremovable" when creating a patch.
Test Plan:
PASS: Generate patch with "reboot_required" and
"unremovable" set as "N".
PASS: Generate patch with "reboot_required" and
"unremovable" set as "Y".
Closes-bug: 2052458
Change-Id: I9ba5058b296a63d98685882cee66ef6aa21c4f02
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>