build: Fix rootfs check

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>