Formulary: fix incorrect bottle variable usage.
bottles: only try f.bottle.revision if it exists.