fix the regex for debian distros

debian names were not getting replaced correctly. they must have changed recently to semver perhaps