bin/xbps-create/main.c: fix CID 62686 correctly; all tests pass now.
tests: use xbps-install -d in two test cases.