[dunecontrol] fix bug in the cmake branch of dunecontrol builddir handling

sadly the touchpad added some arbitrary "pwd; ", which slipped my
test, as I don't use cmake. Thanks to Andi Buhr for pointing this out.