Add dose patch fixing assert breaking our fallback
Truncate the patch opam-version number in templates ("1.2" rather than "1.2.0")

this is consistent with the versioning scheme and avoids incompat between 1.2.0 / 1.2.0~beta for example.
Also, cleaner error message on bad opam-version