[CORE] Make version parsing more lenient

Today we fall back to a beta/alpha version parsing if the first attemp
failed. Yet, if the second attemp failed we throw the exception rather
than returning the default value provided.