Use Application.app_dir as it has a better error message