If a path to an .app was given then try to resolve the binary inside.