Fixed to get etc-dir path.