Fix for builtin_test crash
https://github.com/fish-shell/fish-shell/issues/497