added debugging and handle realpath vs symlink paths
changed from loader, which would load parent packages, to just a simple
herutistic