d/rules: Fix sandbox top path

  pwd | sed -re "s/(.*)\/build\/packages/\1/" => $HOME/sandbox
  pwd | sed -re "s/(.*)\/build\/packages/.*\1/" => .*/$HOME/sandbox