Fixed exception in file viewer when context root of IAF instance is /.