properly support nested refs/mixins
allow graceful handling of missing resources