Bugfix caused by file_exists not properly detecting links pointing to non-existing files.