Imports a repository package using the repository ID specified.

def import_repo(self, repo_id, fileobj):
        '''
        Imports a repository package using the repository ID specified.
        '''
        # Step 1, lets upload the file
        filename = self.upload(fileobj).json()['response']['filename']

        # Step 2, lets tell SecurityCenter what to do with the file
        return self.post('repository/{}/import'.format(repo_id), json={'file': filename})