Fix for issue uncovered by poetry upgrade to 1.3.2