Package manager (upm) package guessing feature cannot be disabled, contrary to docs

Edit: the problem has been fixed, (but it is a different configuration):

Breaking upm such as by deleting the contents of .upm/json and then using poetry instead is a sledgehammer solution, but sometimes an easier solution can be used (not always though):