packages/pkgbuild: write only basename of the PKGBUILD in pkgbuild_ls_files.
packages/pkgbuild: don't hide failures in pkgbuild_update.
packages/pkgbuild: add a corner-case for existing but non-initialized directory in pkgbuild_update.
packages/pkgbuild: small formatting change for indentational consistency.