fix sourcing
diff --git a/tools/build_libvirt.sh b/tools/build_libvirt.sh
index 2a1bc80..8fb45d1 100755
--- a/tools/build_libvirt.sh
+++ b/tools/build_libvirt.sh
@@ -35,13 +35,14 @@
     exit 1
 fi
 
+cd $TOP_DIR
+
 # Source params
 source ./stackrc
 
 # Configure the root password of the vm to be the same as ``ADMIN_PASSWORD``
 ROOT_PASSWORD=${ADMIN_PASSWORD:-password}
 
-
 # Base image (natty by default)
 DIST_NAME=${DIST_NAME:-natty}
 IMAGE_FNAME=$DIST_NAME.raw