Fix exclude windows test on ensure_package

Update to fix ensure_resource as well

Closes #359
Closes #360
Closes #361 
Closes #362

should this be case-insensitive like above?