Updating rv_build_install.py to be more efficient

Signed-off-by: Swapna Krishnan (skrishna@redhat.com)