properly handle prunes and exportfs output