Hey! I literally had the same issue today.
It seems that the command was intended to extract the fedora version by looking at the third word in /etc/fedora-release.
So normally it would have been “Fedora release 43” → 43
But because Asahi is a remix and named “Fedora Asahi Remix release 43” → “Remix” which breaks the url.
So for Asahi we just have to look at the 5th word to find the version number, here is the modified command