I can reproduce this with lightweight checkout enabled as well.
Unable to reproduce this behavior with Plugin 1.10.1 and jenkins 2.138.1.
If this is still a problem please feel free to reopen this issue.