correctly set a name of mounted application, fixes #1517