Import fnmatch, use layout['root'] instead of old 'install_root'