Display the invalid glob in error message

The current error message for displaying a glob can be improved by including the invalid glob in the error message. This makes it easy for developers to debug exactly which glob is incorrect.