pkg_str: Fix depends like clutter-gtk0.10>=0.10

The previous coding considered "gtk0.10" part as a version number
and incorrectly chopped it.