updater: fix is_writable checking