fix preview link generation for course reruns (PLAT-336)
Merge pull request #6233 from edx/adam/fix-preview-courseruns

fix preview link generation for course reruns (PLAT-336)