NEW: new method to systematically check if '/' is there (or is not) in a path name
NEW: new method to systematically check if '/' is there (or is not) in a path name

Former-commit-id: 37d295bc31e1866303bc713d85ce5e48a2c0bc98 [formerly 415080c058dc9106f10934afc5acea27cf1d8a1a]
Former-commit-id: a29eb21c5ebccd52dcc05df4920af586af470992
Former-commit-id: 2889495c926a66516f92d64908ffae0791e50036
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox