fix issue 411, /path/to/site/archetypes : is a directory error