[fix] check if build version is valid or go for the default / package.json version