Make the pack_command optimization compatible across python versions