Allow detection of structure for TypoScript
Introduced in #54 (closed) we check TypoScript for deprecation objects like config.notification_email_urlmode
.
Currently only this form is detected while the following is not:
config {
notification_email_urlmode = ...
}
We should check that we can get the current path, so we are able to compare the whole path.