Removed unused

Removed unused import for os, and variable 'packages'