Use better method to get UPSTREAM_PROJECT_NAME
Use better method to get UPSTREAM_PROJECT_NAME

When using Upstream-Id, we can improve the way we are getting
UPSTREAM_PROJECT_NAME by using basename instead of echo|awk.

Change-Id: Ic7e686b7d600cc233294d82d14d0b109a0f446c5

openstack-packages/delorean,openstack-packages/DLRN,openstack-packages/DLRN,openstack-packages/delorean