Fix environment cleanup in case of unexpected state
In case if administrator remove manually the failed deploy but
doesn't clean up the U-Boot environment -- U-Boot always use rollback
mechanism increasing the bootcount
which affect to MMC wearing.
This fix allow to cleanup update state in case if we boot in roolback
mode but there is no "pending" deployment.
Signed-off-by: Denis Pynkin denis.pynkin@collabora.com