Add method for extracting version from archive name

Signed-off-by: Tomas Hozza <thozza@redhat.com>