code: def get_default_save_path():
      
      macro = '%{_topdir}'
      if rpm:
          save_path = rpm.expandMacro(macro)
      else:
          save_path = rpm_eval(macro)
          if not save_path:
              logger.warn("rpm tools are missing, using default save path "
                          "~/rpmbuild/.")
              save_path = os.path.expanduser('~/rpmbuild')
      return save_path
docs: Return default save path for the packages