CheckSize: fs_type: fix UnboundLocalError when using custom bootimages

Change-Id: I2210bc251835eb62c942276010b19170e4325e3a