Update build_sensorfw_package.sh

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