When calling the function it only gives back the default icon for applications. The path is shown without slashes so that may be the problem