Update build_libhybris_package.sh

If local git repo exists do a pull instead of clone.
Added check if rpm packages were build successfully.