Notwithstanding anything contained in section 383 or 391, where the accused: (a) is awarded any sentence of imprisonment under section 476, or (b) is sentenced in cases other then those provided for in Section 381, to imprisonment whether with or without fine or whipping for a period of less than one year. the sentence shall not, if the...