make the scan-dir absolut