Update Berkshelf.lock and adding else statment instead of when for redhat