An Australian judge ruled against inmate Andre McKechnie, sustaining a prison prohibition on Vegemite because officials fear the spread could be used to brew alcohol.