implement VirtualDir exists

needed with ceres pull request 3