Fix virtual hosts template to avoid python module not found error.