Corrected config.json check code, modified PKGBUILD