improved resource lookup for dependency projects