Oh I get it now. It was because the version I'm using currently doesn't have a repomd.xml yet. I changed the line
http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/ to
http://download1.rpmfusion.org/nonfree/fedora/updates/($releasever-1)/$basearch/ and I'll change it back when the repomd.xml file is up for version 10.
