Fix hasActionsWorkflows throwing an exception if the workflows folder doesn't exist
#11592
| Job | Run time |
|---|---|
| 4s | |
| 2m 2s | |
| 1m 10s | |
| 1m 13s | |
| 4m 29s |