Fixes packages not being loaded when using relative path.