If kind is omitted, return whether stable or latest packages are preferred by the package loading mechanism. If kind is given, must be either stable (default) or latest.
[document the package prefer command]