Fixed a bug in the conversion script

The conversion script previously linked non-existent names. This means that, if a program had a version called "current", it would rename it to "dev" but the `current` symlink would point to itself instead of "dev".