fix resolution bug where remote repositories are not properly checked