Fixed configure crash on: --disable-install-pkg