Fixed a bug where diverted images would result in broken static symlinks.