Import variables using full-path, so that an overridden file in the application will be loaded

Fixes #3415