Allow `brew versions` to work with underspecified formulae