enforce version `:latest` as a symbol

`:latest` has special meaning.  The corresponding string
`'latest'` is disallowed.