Fix for issue 16: Source not used when resolving if installed package is at the correct version

Unit test included