Fixed stack-overflow when generating transient actions.

This happened when plug-ins (like the artifactory plug-in) were querying
Project.getActions() when they themselves were being asked to generate
their transient-actions.