Fix for BGO#648059: get_application should return something w/ROLE_APPLICATION