REF: cleaner way to get path of the toolbox
REF: cleaner way to get path of the toolbox

Former-commit-id: 04ed0508fe6f6c7c94d1e8f01ebf306850a345c3 [formerly ee7f8f0382c232c6c270ed052181448f559c1065]
Former-commit-id: 87f4fdfaaab8daba6f2bf438204d8a3586c27cc5
Former-commit-id: 0f3e310dbbfeb48d1de6017b99ff38c69c80f747
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox