Fix #496 "ad ls" segfault if current directory is outside volume path.