I didn't wrote that code and I've no idea why it does that, what I did that I verified that all Python unit tests succeed and the cmdlet works fine.