xbps: merge patch from git master to fix a bug in xbps-create(8).