fixed getActivityNames(), now can correctly identify <activity-alias>