ignoring build directory
raising error for invalid path provided