resolve relative paths before scanning/filtering (#405)