Make available_version support arbitrary args

This will avoid tracebacks in pkg states