Fixes #6026 - Fixed repo list api call for no env case.

If you have a content view in library published few times and promoted a
few times

hammer repo list --organization-id=1 will return all repos across all
content views and environments. Meaning it will return repos with the
same name 10 or 20 times.

Ideal behaviour would be to say something along the lines of "If you
dont pass me an environment I am going to assume library/default content
view version."

This commit fixes this issue