prep-packages: Add startdir check.