Leo Scales almost avoided being found with the drugs before the officer on his break intervened