Conditional check rectified while setting  DP_VERSION and DEPENDENCIES variable