Check if its a file
first try to look locally or using http ; then try to find the package using a repository
New tests for ipkg.environments (90% coverage!) + new test data