Fixed error when execution policy is not configured