Brainmask substitution works for both older and newer versions of Nipype