[VERSIONING][FIX] fix version extract function
In the version_extract function there were an error in which if the image_id registered in the tag is something containing the version, the script recognize the version but in this case didn't create the folder for version. Now the function create_file is been called and the process of versioning can proceed normally.
Signed-off-by: carlo carlo.ferriolo@seco.com