BUG Hardcoded project name in include_by_locale()

include_by_locale() should not use hardcoded default project name 'mysite' (fixes #7969).