fix the stripping of the python libs version string where

subsequent numbers after 'rc' (release candidate) were not matched correctly
23 jobs for python_strip_string_fix in 41 minutes and 49 seconds (queued for 1 second)