corrected condition, removed debian plugin dependency