BUG: register_to_template: fixed #569 (temporary fix-- do not close the issue)
BUG: register_to_template: fixed #569 (temporary fix-- do not close the issue)

Former-commit-id: d411eb59194d08b41ec33b3ed3ca487be8482ef2 [formerly 6759c709b3d3fbe1934e423fc941e8bf76676460]
Former-commit-id: ed7bbd077295515ff132f87b2f6ea99a6f8d04a4
Former-commit-id: ad5b306003d1a2091046187f3fbc2a2b6720df66
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox