pool_solvable2str: improve output when version is not defined

Do not add the `-` char separating solvable's name from its version when this attribute is not set.

Prior to this patch a pattern without a solvable would produce the following string: `pattern:Crowbar_Admin-.noarch`.
With this patch the output is `pattern:Crowbar_Admin.noarch`.