Fix updateStagingPath property for new location (#177)

This fixes issue #177. @andreeamatei please have a look at.
Ups. Those lines existed because I missed to pull from master first. Noticed when I tried to push. Will have to merge in tip and force-push the changes here.