setup: Add check for empty var