(#12070) Fix crontab value munging
If the specified value does include characters that have a special
meaning inside a regex puppet raised errors like
target of repeat operator is not specified: /*\/a/i
Change if clause to do a real substring tests instead of using a regex.
All spec tests do now pass