Check if the distro is from debian

Centralizes the check

Change-Id: I4d06dc689f201da60a6aceab7e74283859767562
(cherry picked from commit 0c01387dc3f92eb6790bfb32b6ba4a10f5a58413)
Signed-off-by: Abhishek Chanda <abhishek@cloudscaling.com>
Merge "Check if the distro is from debian" into R1.10