This was solved with the premasked option
5ttgen fsl T1_in_diff_spc.nii.gz 5tt.nii.gz -premasked -nocrop
Best, Ane