OPT: can now check for path
OPT: can now check for path

Former-commit-id: bd1ab742870a924402a8edd5db36050fd2e1049c [formerly 40c8a66288bdf7872f01d4ac6b49d0e9baeed8f6]
Former-commit-id: 069ff7c36229e950218cfc99be24ac60bd29f38c
Former-commit-id: e0565a77727a158d09a82fd7f5066eea0a1615dc
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox