fix(actions): action scripts can return falsey values without causing errors

We were testing the return value of "include", but this caused a false-
positive error if the script uses "return;". Now we actually test for
ability to read the script and include it with isolated scope.

Fixes #7209

TODO:
 - [ ] Add test case (at least an empty one)