Element path not validated before use
Description
the element-path variable in project.conf was used before being validated
This resulted in element-path defaulting to "." if there was an error, instead of showing the correct error message.
Changes proposed in this merge request:
- Bring forward the point of node validation