This avoid showing an useless message dialog when the user did not give authorization for mounting a device.