Fixed https://github.com/yamanyar/restrict-maven-plugin/issues

If parent Maven project is just POM, it doesn't really have buildDirectory, but Maven still calls all plugins on this POM project, causing restrict-maven-plugin to fail.

The fix checks that buildDirectory exists, and if it is not, then it just exists with a warn message instead of failing.