A man who stole a can of petrol left beside a filling station pump by a motorist who forgot to lift it, has been jailed for a month at Magherafelt Magistrates Court.