Set $actual_docroot using a matching statement (since || doesn't work?)