name/version was chopped after the first dash, which caused e.g. openssh-portable-6.9 to be advertised as `openssh' with version `portable'. Split on last dash instead using shell magic.