Fixes get_package method by passing a remote as param