Update apter.cpp

Local packages search fixed