[Aleph rest-dlf connector] Fixed var empty check bugs