provision.sh: fix mistake in directory test