Fixed bug where it will break on packages in its current environ