BUG: fix typo in glob version handling.

Fix to ensure glob version don't have pre-release/build parts