Sanitize srv's static dir option