This is actually as designed by the behaviour of the IMGUI implementation of the Inspector window. BUT the Package Manager team will investigate how they can improve it in a general task "Rework errors shown in the Inspector while editing a package manifest"