OPT: fix issue #692.
OPT: fix issue #692.

Former-commit-id: 96e96af288a48477c852ec958323851760b37ed9 [formerly 69f04686da3d61af31f59f139f39d86d32cc8047]
Former-commit-id: 89d97e73e879db053d16d9b317a8a7e46e544285
Former-commit-id: 0908370f244e4591765f87201e3004344c3e06f5
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox