debian: fix hhvmapi substvar expansion

also fail fast when empty, I discovered that at the end of a build

Change-Id: Ibdd77f5545c2eb6879d444edb6f3642b9017325e