it seems weird/wrong to muck with /var/vcap/packages -- this directory is owned/managed by Bosh and as a general policy I think jobs should put their data under /var/vcap/data not /var/vcap/packages.