First check if `poly-devel/$script` exists.

If not then use regular logic.