Checking the viste module exists when depending on the vsite context.

#4023