Revert to exact functions taken from python buildpack
Close DEV-44 #resolved #fixed