fix cylc-job-poll test directives parsing