If allow_multi is True, and there are multiple links for a particular relation then the code will fall through to the final return statement:
https://github.com/Comcast/htmlapi-client-python/blob/master/htmlapi_client.py#L278
This returns "out" which is undefined in this function. I believe it should be "links".
This looks like a copy/paste bug from Form._get_params, which does return "out".