dpkg sources and offline mode added
[fix] previous commit breaks checking reference number functionality