inspect: Fix improperly ignored error in check_filesystem