fix: update exception throw from OSError to EnvironmentError in `push…
_The documentation is not available anymore as the PR was closed or merged._
Status:
Ready for review

Description of Changes:
Fixes #5075

Changes proposed in this pull request:
- Throw EnvironmentError instead of OSError in `push_to_hub` when the Hub token is not present.