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

@cpennington @doctoryes 

Fixes an issue where course reruns do not generate the correct preview link on container pages

https://openedx.atlassian.net/browse/PLAT-336