Right
旨 supplies the sound — zhǐ straight through, no drift. The 'purpose / tasty' meaning doesn't enter;
旨 is a pure sound-tag. The character was coined for organic chemistry in the late 19th century, picking
酉 wine +
旨 sound as a Sinified term for what English calls 'ester,' itself derived from German Essig 'vinegar.'