Fix a crash with optparse