Fixing an issue where the application path is not located