[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.

Note: this PR is only against `1.3` newer branches don't have this problem