Improve git 'expand' alias to show error message