Merge "app_directory: Fix crash when using the alias option 'a'."