Handle stack correctly when there are multiple directories in a prepend path
boegel av test added