Fixed the app path discovering