Fix/afni relpath

@sgiaviasis could you test this?