Fix: make sure supplied path stays in /src/md/.