Fix flavor directory identification and emboss url