This is a regression of #1098 (fix in PR #1126) that was re-introduced in v2.17.0. v2.16.0 works as expected. v2.17.2 still has this regression.