Fix error when checking for duplicated versions
When a duplicated version is found the pipeline tries to give additional clues to the developer, however, since now the repository does not have the whole history the command fails with a weird error.
Change git show to git ls-remote to show additional info to developers.
Signed-off-by: Walter Lozano walter.lozano@collabora.com