Python egg build fix for the sdist rotate command

Refs #3252