Fixed package resolving on virtual directory