Correcting error in hook_requirements implementation