The Massachusetts police officer charged with making up an account of being shot at while on duty has been granted $10,000 bail after pleading not guilty.