You would need to be away for at least 30 days and your prospective tenant would need to sign a lease for at least 30 days. Then, under this legislation, it's kosher, and would be governed by your own tenancy agreement/coop board/whatever.
Yeah, I'm not asking for an explanation of the law. I understand how it works, and that's the problem. It bans the usecase of allowing people to rent out while they travel, which wasn't the stated intention of the law.