Fix bug in match_available when result index was single NA
Enable installing dependencies for source directory