well, lukeis suggested a work around, 

  public String getMainActivity() throws AndroidSdkException {
     if( activityName.contains(".") return activityName;
      else return packageName + "." + activityName;
  }