set default plugin file if nil
Merge pull request #458 from racker/fixes/CMA-193

Prevent agent crash when checking plugin targets